<template>
  <div id="parent">
    <commonHead child-name="编辑账户" father-name="系统管理"></commonHead>
    <div class="body">
      <editAccountBody style="margin-top: 15px;background-color: white;width: 92%;
      margin: auto" :admin="admin"></editAccountBody>
    </div>
  </div>
</template>

<script>
import commonHead from "../common/commonHead";
import editAccountBody from "./editAccountBody";
export default {
  data(){
    return {
      admin : this.$route.query.admin
    }
  },
  name: "addAccount",
  components:{commonHead,editAccountBody}
}
</script>

<style scoped>
#parent{
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04)
}
.body{
  background-color: #F0F2F5;
  padding-top: 25px;
  padding-bottom: 10px;
  box-sizing: border-box;
}
</style>
